package com.dhcc.sdc.base.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.dhcc.core.framework.result.node.ZTreeNode;
import com.dhcc.core.framework.result.node.ZTreeNodeMenu;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author zhangdc
 * @version 1.0
 * @date 2022/7/1 10:17
 */
public interface ICdssStandardMatchService {
    //组装推荐信息树形结构
    List<ZTreeNode> buildCdssRecommendTree();

    void autoCompare(Long cdssRecommendId, String cdssRecommendName, String recommendType);

    void compare(Long cdssRecommendId, String orderIDStr, String matchType);

    void undo(Long cdssRecommendId, String orderIDStr, String matchType);

    void updateIsDefault(Long cdssRecommendId, Long orderID, String matchType, Integer isDefault);

    JSONArray findCdssList(Long entityId);

    <T> String handleReferenceTime(Class<T> clazz, T t);
}
